import api from '../util/xhr'
import * as types from './mutation-types'
export let loadStudent = ({
    commit
}, payload) => {
    return api.post('/api/m/u/findCustomerBindStudent').then(
        data => {
            commit(types.getBindStudent, data)
        }
    )
}
export let changeCurrentStudent = ({
    commit
}, payload) => {
    commit(types.changeCurrentStudent, {
        ...payload
    })
}